﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChangedPass.ascx.cs" Inherits="Controls_ChangedPass" %>
<div id="changedpass" style="width: 640px">
    <div class="blocktitle">
        <div style="float: left">
            THAY ĐỔI MẬT KHẨU</div>
        <div onclick="Popup.hide('register')" id="changedpass_close" style="float: right; cursor: pointer">
            [ x ]</div>
        <div style="clear: both">
        </div>
    </div>
    <table>
        <tr>
            <td class="left" style="text-align: right">
                Mật khẩu cũ:&nbsp;
            </td>
            <td class="center">
                <asp:TextBox ID="txb_mkCu" runat="server" CssClass="txbinput" TextMode="Password"></asp:TextBox>
            </td>
            <td class="right">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txb_mkCu"
                    ErrorMessage="Ít nhất 5, tối đa 30 ký tự bao gồm Aa-Zz,0-9,_" ValidationExpression="([a-zA-Z0-9_]{5,30})+"
                    ValidationGroup="ChangedPassGroup"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="left" style="text-align: right">
                Mật khẩu mới: &nbsp;
            </td>
            <td class="center">
                <asp:TextBox ID="txb_mkMoi" runat="server" CssClass="txbinput" TextMode="Password"></asp:TextBox>
            </td>
            <td class="right">
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txb_mkMoi"
                    ErrorMessage="Ít nhất 5, tối đa 30 ký tự bao gồm Aa-Zz,0-9,_" ValidationExpression="([a-zA-Z0-9_]{5,30})+"
                    ValidationGroup="ChangedPassGroup"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="left" style="text-align: right">
                Xác nhận mật khẩu mới:&nbsp;
            </td>
            <td class="center">
                <asp:TextBox ID="txb_mkMoi_confirm" runat="server" CssClass="txbinput" TextMode="Password"></asp:TextBox>
            </td>
            <td class="right">
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txb_mkMoi"
                    ControlToValidate="txb_mkMoi_confirm" ValidationGroup="ChangedPassGroup">Mật khẩu xác nhận không khớp!</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="left">
            </td>
            <td class="center">
                <div style="text-align: right; margin-right: 20px">
                    <asp:Button ID="cmd_ChangedPass" runat="server" Text="Đổi mật khẩu" CssClass="re_submit"
                        ValidationGroup="ChangedPassGroup" onclick="cmd_ChangedPass_Click" /></div>
            </td>
            <td class="right">
            </td>
        </tr>
    </table>
</div>
